(How )Can I use the Progress Bar functions (eg. progressStep) on a specific progress bar if more than one is displayed?
I've tried to raise, realise etc the one I want it to act on without success.
SystemAdmin - Fri Feb 11 10:56:48 EST 2011 |
|
Re: Targeting a ProgressBar mcnairk - Fri Feb 11 11:15:34 EST 2011
I haven't been able to do this myself, only update the most recently opened progress bar in nested loops, e.g. I have a DXL that checks the history of every object in the database, which updates the progress bar for the current object, then updates the progress bar for the current module, then updates the progress bar for the current folder, then updates the progress bar for the entire database. To the user, they look like they are being updated in parallel...
|
|
Re: Targeting a ProgressBar SystemAdmin - Fri Feb 11 11:20:23 EST 2011 mcnairk - Fri Feb 11 11:15:34 EST 2011
I haven't been able to do this myself, only update the most recently opened progress bar in nested loops, e.g. I have a DXL that checks the history of every object in the database, which updates the progress bar for the current object, then updates the progress bar for the current module, then updates the progress bar for the current folder, then updates the progress bar for the entire database. To the user, they look like they are being updated in parallel...
Do you mean you have to call progressStop on the most recently created, and it then acts on the next last created?
|
|
Re: Targeting a ProgressBar mcnairk - Fri Feb 11 15:26:41 EST 2011 SystemAdmin - Fri Feb 11 11:20:23 EST 2011
Do you mean you have to call progressStop on the most recently created, and it then acts on the next last created?
Actually it turns out that the DXL I had in mind uses perm checkDataAgainstHistory which does the progress bar work for me, so I can't see how it is actually done. So you'll have to do some more experimenting yourself. Sorry to raise your hopes...Ken.
|
|